package com.heima.search.service;

import com.heima.common.dto.ResponseResult;
import com.heima.search.dto.ApArticleSearchDto;

public interface IApUserSearchService {
    //保存搜索记录
    void saveSearchRecord(Integer userId, String searchWords,String equipmentIdd);

    //加载搜索历史
    ResponseResult loadHistory(ApArticleSearchDto dto);

    //删除搜索历史
    ResponseResult delHistory(ApArticleSearchDto dto);
}